import { createRouter, createWebHistory } from "vue-router";

import Admin from "../pages/Admin.vue";
import User from "../pages/User.vue";

const routes = [
    { path: "/user", component: User },
    { path: "/admin", component: Admin }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router;